globala = 0
def test():
  globala = 1
  print "local is " ,globala
  global globala
  globala = 1
  print "modified global is ",globala
print "init global is ", globala
test()